<%@page language="C#"%>
<%
    // 通过在包含页面中检查此变量,防止包含页面被直接调用,特别是防止有问文件上传的页面被直接调用
    bool incluePageSecure = false;

    Response.Cache.SetCacheability(HttpCacheability.NoCache);
    /// if( false == RBAC.IsLogon() )
    /// {
    ///     Response.Redirect( "login.aspx?continue=console.aspx" );
    ///     Response.End();
    /// }
    /// else
    /// {
    ///    lblUserMenu.Text = MySystem.UiUserMenu();
    ///    lblMainMenuItems.Text = MySystem.UiMainMenu();
    /// }
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

    <title> 网站控制台 </title>
    <meta http-equiv="Content-Type" Content="text/html;charset=utf-8" />
    <meta name="Version" content="0.0.0.0" />
    <meta name="Copyright" content="ML" />
    <meta name="LastModify" content="2008-12-06" />
    <link type="text/css" rel="stylesheet" href="css/console.css" />


    <script type="text/javascript" src="js/jquery.pack.js"></script>
    <script type="text/javascript" src="js/jquery.cookie.js"></script>
    <script type="text/javascript" src="js/myjslib.js"></script>

    <script type="text/javascript" src="_tools/fckeditor/fckeditor.js"></script>

    <link type="text/css" rel="stylesheet" href="_tools/jquery.treeview/jquery.treeview.css" />
    <script type="text/javascript" src="_tools/jquery.treeview/jquery.treeview.pack.js"></script>
</head>

<body>
<div id="wrapper">
    <div id="header">
        <h1>网站管理控制台</h1>
        <div id="loginBar">
            <!-- 用户菜单 或 登陆框 -->
        </div>
    </div>

    <div id="container">
        <div id="loading"><!-- 加载中 --></div>
        <div id="tips"><!-- 提示 --></div>
        <div id="btn-hide-column-A">显示/隐藏</div>
        
        <div id="column-A" class="column-A">
            <ul class="menu" id="main-menu"><!-- 菜单项 --></ul>
        </div>

        <div id="column-B" class="column-B">
            <!-- 主要内容 -->
        </div>
    </div>

    <div id="footer">
    </div>
</div>

<!--
  正常网页布局到此已经结束
-->

  <div class="hide">
    <!-- #include file="_admin/UIL/category.aspx" -->
    <!-- #include file="_admin/UIL/article.aspx" -->
  </div>

  <script type="text/javascript" src="_admin/app.js" ></script>
  <script type="text/javascript" src="_admin/config.js" ></script>
  <script type="text/javascript" src="_admin/subsystem/docs.js" ></script>



<script type="text/javascript">

// 应用程序入口,html代码下载完毕后执行
$(function()
{
    // ajax全局事件监听
    $("#tips").ajaxStart(function(evt, request, settings){
        $(this).empty().append('<div class="loading">加载中...</div>');
    }).ajaxComplete(function(request, settings){
        $(this).append('<div class="loading">加载完成</div>').empty();
    });

    // App对象
    var app = window.app = new App();    // setInterval的参数需要一个全局的变量
});


</script>


</body>
</html>
